﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using T.AuditField;

namespace T.Basic.Domain.T.Basic.Model
{
    /// <summary>
    /// 货主管理
    /// </summary>
    [Table("CargoOwner")]
    public class CargoOwner:AuditFields
    {
        /// <summary>
        /// 货主管理ID
        /// </summary>
        [Key]
        public int CargoOwnerId { get; set; }
        /// <summary>
        /// 公司ID
        /// </summary>
        public string? CompanyID {  get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        public int? User_Id { get; set; }
        /// <summary>
        /// 货主姓名
        /// </summary>
        public string? CargoOwnerName { get; set; }
        /// <summary>
        /// 货主手机号
        /// </summary>
        public string? CargoOwnerPhone { get; set; }
        /// <summary>
        /// 单位名称
        /// </summary>
        public string? CargoOwnerUnitName { get; set; }
        /// <summary>
        /// （省）
        /// </summary>
        public string? StartingProvince { get; set; }
        /// <summary>
        /// （市）
        /// </summary>
        public string? StartingCity { get; set; }
        /// <summary>
        /// （县）
        /// </summary>
        public string? StartingCounty { get; set; }
        /// <summary>
        /// 驾驶证有效日期
        /// </summary>
        public DateTime? DriverLicenseDate {  get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? CargoOwnerNotes { get; set; }
        /// <summary>
        /// 驾驶证照片
        /// </summary>
        public string? DriverLicenseImg {  get; set; }
    }
}
